package com.example.wechat.login.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.wechat.login.entity.WechatUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WechatUserMapper extends BaseMapper<WechatUser> {
    WechatUser findByOpenid(String openid);
    boolean existsByOpenid(String openid);
}
